﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DHQGHN.DAL.Models.Admin
{
    public class MenuInRoleModel
    {
        public string AppName{ get; set; }
        public int MenuInRoleID { get; set; }
        public int MenuID { get; set; }
        public int RoleID { get; set; }
        public int IsActive { get; set; }
        public string DateCreated { get; set; }
        public string DateModified { get; set; }
        public string Descriptions { get; set; }
        public string MenuName { get; set; }
        public string RoleName { get; set; }
        public string MenuCode { get; set; }
        public int RecordCount { get; set; }
        public int AppID { get; set; }
        public const string FIELD_RECORD_COUNT = "RecordCount";

        #region Field list in database
        public const string FIELD_APP_NAME = "AppName";
        public const string FIELD_MENU_IN_ROLE_ID = "MenuInRoleID";
        public const string FIELD_MENU_ID = "MenuID";
        public const string FIELD_ROLE_ID = "RoleID";
        public const string FIELD_DATE_CREATED = "DateCreated";
        public const string FIELD_DATE_MODIFIED = "DateModified";
        public const string FIELD_IS_ACTIVE = "IsActive";
        public const string FIELD_DESCRIPTION = "Descriptions";
        public const string FIELD_ROLE_NAME = "RoleName";
        public const string FIELD_MENU_NAME = "MenuName";
        public const string FIELD_MENU_CODE = "MenuCode";
        #endregion
    }
}
